#pragma once


#include"HashTable.h"

namespace yyh
{
	template<class K>
	class unoredered_set
	{
		struct SetKeyOft
		{
			K& operator()(const K& key)
			{
				return key;
			}
		};
	public:
		bool insert(const K& key)
		{
			return _ht.Insert(key);
		}
		
	private:
		HashTable<K, K, SetKeyOft> _ht;
	};
}